package com.lianniu.mgr.product.controller;


import javax.servlet.http.HttpServletRequest;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


/**
 * 
 * @author guoconglin
 * @Date: 2016-7-5  14:55
 *
 */
@Controller
public class ProductController {
	
	/**
	 * @Description: 商品管理
	 * 
	 * @author guoconglin
	 * @Date 2016-7-5  16:00
	 * 
	 */
	private final static Logger logger = Logger.getLogger(ProductController.class);
	
	@RequestMapping("/productList")
	public String productList(HttpServletRequest request){
		return "/product/mgr/productList";
	}
	@RequestMapping("/productAdd")
	public String productAdd(HttpServletRequest request){
		return "/product/mgr/productAdd";
	}
	@RequestMapping(value="/productEdit")
	public String productEdit(HttpServletRequest request){
		return "/product/mgr/productEdit";
	}
	@RequestMapping(value="/viewProduct")
	public String viewProduct(HttpServletRequest request){
		return "/product/mgr/viewProduct";
	}
	@RequestMapping("/productDel")
	public String productDel(HttpServletRequest request){
		return "/product/mgr/productDel";
	}
	@RequestMapping("/weixinproductList")
	public String weixinproductList(HttpServletRequest request){
		return "/product/mgr/weixin-productList";
	}
	@RequestMapping(value="/weixinproductEdit")
	public String weixinproductEdit(HttpServletRequest request){
		return "/product/mgr/weixinproductEdit";
	}
	@RequestMapping(value="/weixinproductTGEdit")
	public String weixinproductTGEdit(HttpServletRequest request){
		return "/product/mgr/weixinproductTGEdit";
	}
}
